<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="/resource/css/admin/main.css" type="text/css" rel="stylesheet" />
<link href="/resource/css/admin/right.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/resource/js/jquery.js"></script>
<script type="text/javascript" src="/resource/js/base.js"></script>
</head>
<body>
	<div class="position"><span>您的当前位置：</span><a href="./?stateid=${article.articleState.id}">文档管理</a> > 文档详细</div>
	<div class="rightbody m">
		<div class="rightbodycontent">
			<table cellspacing="1" cellpadding="4" class="tableedit">
				<tr>
					<td>标题：</td>
					<td>
						<input type="text" value="${article.title!}" disabled style="width:500px;background:white;" />
						<label><input type="checkbox"<#if article.bold> checked</#if> disabled />加粗</label>
						<label><input type="checkbox"<#if article.red> checked</#if> disabled />加红</label>
					</td>
				</tr>
				<tr>
					<td>摘要：</td>
					<td>
						<textarea class="articledigest" disabled style="background:white;">${article.digest!}</textarea>
					</td>
				</tr>
				<tr>
					<td>外部链接：</td>
                    <td>
                    	<input type="text" value="${article.exturl!}" disabled style="width:600px;background:white;" />
                    </td>
				</tr>
				<tr>
					<td>正文内容：</td>
					<td>
						<div class="articlecontents">${article.contents!}</div>
					</td>
				</tr>
				<tr>
					<td>封面图片：</td>
					<td>
						<#if article.image??><img height="25" src="${article.image}" />
						<#else>无</#if>
					</td>
				</tr>
				<tr>
                    <td>来源：</td>
                    <td>
                    	<input type="text" value="${article.source!}" disabled style="background:white;" />
                    </td>
                </tr>
                <tr>
                    <td>作者：</td>
                    <td>
                    	<input type="text" value="${article.author!}" disabled style="background:white;" />
                    </td>
                </tr>
				<tr>
                    <td>发布时间：</td>
                    <td>
                    	<input type="text" value="${article.publishtime?string('yyyy-MM-dd HH:mm:ss')}" disabled style="background:white;" />
                    </td>
                </tr>
                <tr>
                    <td>点击数：</td>
                    <td>
                    	<input type="text" value="${article.clicknum}" disabled style="background:white;" />
                    </td>
                </tr>
                <tr>
                    <td>排序：</td>
                    <td>
                    	<input type="text" value="${article.sort}" disabled style="background:white;" />
                    </td>
                </tr>
				<tr>
					<td>发布栏目：</td>
					<td>
						<#assign colfirst=true>
                        <#list columnses as columns>
                            <#if !colfirst && columns.parentId == 0><br/></#if>
                            <#if columns.parentId == 0><b></#if>
                            <label><input type="checkbox"<#if columnsids?seq_contains(columns.id)> checked</#if> disabled />${columns.name}</label>
                            <#if columns.parentId == 0></b></#if>
                            <#assign colfirst=false>
                        </#list>
                        <#if zhuantis?size gt 0>
                            <#list zhuantis as zhuanti>
                                <br />&nbsp;<b>${zhuanti.name}：</b>
                                <#list columnsForZhuanties as columns>
                                	<#if columns.zhuanti.id == zhuanti.id>
                                    	<label><input type="checkbox"<#if columnsids?seq_contains(columns.id)> checked</#if> disabled />${columns.name}</label>
                                    </#if>
                                </#list>
                            </#list>
                        </#if>                        
					</td>
				</tr>
                <tr>
                    <td>密码保护：</td>
                    <td>
                    	<input type="checkbox" disabled<#if article.protection> checked</#if> />
                    	<#if article.protection>
                    		<span id="protectionpasswordspan">密码：<input type="text" name="protectionpassword" id="protectionpassword" value="${article.protectionpassword!}" disabled style="background:white;"></span>
                    	</#if>
                    </td>
                </tr>
			</table>
		</div>
	</div>
	<div class="rightfoot">
		<div class="rightfootcontent">
			<input type="button" value="返 回" class="return" onclick="history.back()" />
		</div>
    </div>
</body>
</html>